Imports DotNetNuke.Services.Localization

Public MustInherit Class MultilingualBase
    Private _fileName As String = ""

    Public Sub LoadRessourceFile (ByVal fileName As String)
        _fileName = "~/DesktopModules/DnnSecurity" & fileName & ".resx"
    End Sub

    Protected Function GetTranslationFor (ByVal key As String) As String
        Return Localization.GetString (key, _fileName)
    End Function
End Class